<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	
	<link rel="StyleSheet" href="dtree/dtree.css" type="text/css" />
	<script type="text/javascript" src="dtree/dtree.js"></script>

  </head>
  
  <body>
    <div class="dtree">
	<p><a href="javascript: d.openAll();">open all</a> | <a href="javascript: d.closeAll();">close all</a></p>
	<script type="text/javascript">
	<!--
		d = new dTree('d');
	
		d.add(0,-1,'骑驴网','manage/content.jsp', "", "content");
		
		d.add(10,0,'公司管理');
		d.add(101,10,'查找公司','manage/company/find.jsp', "", "content");
		d.add(102,10,'公司列表','company.do?method=getCompanyByPage', "", "content");
		d.add(103,10,'新增公司','manage/company/form.jsp?methodname=saveCompany', "", "content");
		
		d.add(40,0,'评论管理');
		d.add(401,40,'评论列表','comment.do?method=getByPage', "", "content");
		
		d.add(20,0,'键值管理');
		d.add(201,20,'查找键值','manage/keyval/find.jsp', "", "content");
		d.add(202,20,'键值列表','keyval.do?method=getKeyValByPage', "", "content");
		
		//d.add(30,0,'新闻管理');
		//d.add(301,30,'新闻列表','example01.html', "", "content");
		
		//d.add(50,0,'资源管理');
		//d.add(501,50,'新增资源','example01.html', "", "content");
		//d.add(502,50,'资源列表','example01.html', "", "content");

		//d.add(60,0,'图片管理');
		//d.add(601,60,'图片列表','example01.html', "", "content");
		//d.add(602,60,'新增图片','example01.html', "", "content");
		
		d.add(70,0,'文章管理 ');
		d.add(701,70,'录入文章','manage/article/form.jsp', "", "content");
		d.add(703,70,'查找文章','manage/article/find.jsp', "", "content");
		d.add(702,70,'文章列表','article.do?method=listArticleByPage', "", "content");
	
		d.add(80,0,'系统管理'); 
		d.add(801,80,'服务器监控','manage/monitor.jsp', "", "content");
		d.add(802,80,'系统日志查询','manage/log/log.jsp', "", "content");
		
		document.write(d);
		//-->
	</script>
	</div>
  </body>
</html>
